body {
    font-family: Arial, sans-serif;
    background-color: rebeccapurple;
    margin: 0;
    padding: 0;
}

.container {
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.help-block {
    color: red;
    font-size: 0.9em;
}

.form-check {
    margin-bottom: 10px;
}

.gender-group, .married-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Add margin-bottom to separate from other form elements */
}

.gender-group label, .married-group label {
    margin-right: 10px; /* Add margin-right to separate label from input */
}

.form-check form-check-inline {
    margin-right: 10px;
}

.btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

.alert {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}